.class public Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;
.super Ljava/lang/Object;
.source "DuDecorationViewWrap.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$Target;,
        Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;,
        Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;",
        ">",
        "Ljava/lang/Object;"
    }
.end annotation


# instance fields
.field protected a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap<",
            "TT;>.b;"
        }
    .end annotation
.end field

.field protected b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "TT;>;"
        }
    .end annotation
.end field

.field protected c:Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation
.end field

.field protected d:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c<",
            "TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-direct {v0, p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    .line 3
    new-instance p1, Ljava/util/LinkedList;

    invoke-direct {p1}, Ljava/util/LinkedList;-><init>()V

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(J)Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J)TT;"
        }
    .end annotation

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    .line 7
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;->e()J

    move-result-wide v2

    cmp-long v4, v2, p1

    if-nez v4, :cond_0

    goto :goto_0

    :cond_1
    const/4 v1, 0x0

    :goto_0
    return-object v1
.end method

.method public a()V
    .locals 1

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    const/4 v0, 0x0

    .line 4
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public a(II)V
    .locals 1
    .param p1    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param
    .param p2    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->a(II)V

    return-void
.end method

.method public a(JZ)V
    .locals 0

    .line 8
    invoke-virtual {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a(J)Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 9
    invoke-virtual {p1, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;->a(Z)V

    .line 10
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;)V
    .locals 0

    .line 19
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->d:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;

    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V
    .locals 1
    .param p1    # Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 4
    .param p1    # Ljava/util/List;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;)V"
        }
    .end annotation

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    if-nez v1, :cond_0

    goto :goto_0

    .line 12
    :cond_0
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;->e()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {p1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const/4 v2, 0x1

    .line 13
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;->a(Z)V

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    .line 14
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;->a(Z)V

    goto :goto_0

    .line 15
    :cond_2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->a(Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;)Lcom/esfile/screen/recorder/videos/edit/activities/decor/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/d;->b(Z)V

    .line 17
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public b()Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c:Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    return-object v0
.end method

.method public b(II)V
    .locals 1
    .param p1    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param
    .param p2    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->b(II)V

    return-void
.end method

.method public b(J)V
    .locals 0

    .line 6
    invoke-virtual {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a(J)Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 7
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V

    :cond_0
    return-void
.end method

.method public b(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V
    .locals 1
    .param p1    # Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    if-nez p1, :cond_0

    return-void

    .line 1
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p1

    if-eqz p1, :cond_1

    .line 3
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->b:Ljava/util/List;

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    .line 4
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V

    .line 5
    :goto_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public b(Z)V
    .locals 1

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->setShowHandle(Z)V

    .line 9
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->h()V

    return-void
.end method

.method public c()I
    .locals 1

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0}, Landroid/view/View;->getHeight()I

    move-result v0

    return v0
.end method

.method public c(II)V
    .locals 1
    .param p1    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param
    .param p2    # I
        .annotation build Landroidx/annotation/DrawableRes;
        .end annotation
    .end param

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->c(II)V

    return-void
.end method

.method public c(J)V
    .locals 0

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a(J)Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 2
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V

    :cond_0
    return-void
.end method

.method public c(Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->d:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;

    if-eqz v0, :cond_0

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c:Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    invoke-interface {v0, v1, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$c;->a(Ljava/lang/Object;Ljava/lang/Object;)V

    .line 5
    :cond_0
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->c:Lcom/esfile/screen/recorder/videos/edit/activities/decor/a;

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;->a()V

    return-void
.end method

.method public d()Landroid/view/View;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    return-object v0
.end method

.method public e()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0}, Landroid/view/View;->getWidth()I

    move-result v0

    return v0
.end method

.method protected f()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected g()V
    .locals 0

    return-void
.end method

.method public h()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap;->a:Lcom/esfile/screen/recorder/videos/edit/activities/decor/DuDecorationViewWrap$b;

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    return-void
.end method
